package tech.aistar.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
  @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
  public class CardProduct implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 产品id
     */
      private Integer productId;

      /**
     * 购物车id
     */
      private Integer cardId;

    /**
     * 数量
     */
    private Integer num;


}
